#ifndef PUCK_DRAWER_H
#define PUCK_DRAWER_H

#include "simple_shader_program.h"
#include "vertex_object.h"
#include "geometry/puck.h"

class PuckDrawer : public VertexObject {
    public:
        explicit PuckDrawer(ShaderProgram *program, Puck *puck)
            :VertexObject(program), m_puck(puck) {
                init();
        }
        virtual ~PuckDrawer() = default;

    public:
        virtual void draw(QMatrix4x4 &modelViewProjectM) override;

    private:
        void init();

    private:
        Puck *m_puck = nullptr;
};
#endif // PUCK_DRAWER_H
